'use strict';
/**
 * 消息通知Service
 */
app.service('HeaderService',
		['$http',  '$state',
function($http, $state){
	//获取最新的未读消息及未读消息总数
	this.getLastestInfo = function(){
		return $http.post(
				ISS.getPath('/message/unReadInfoList')
				).then(function(resp){
					return resp.data;
				});
	}
}]);